<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		background-color: #f0f8f0; /* 浅绿色背景 */
		font-size: 28rpx;
		color: #333333;
	}
	
	.container {
		padding: 20rpx;
	}
	
	.title {
		font-size: 36rpx;
		font-weight: bold;
		margin-bottom: 20rpx;
		color: #2e7d32; /* 深绿色标题 */
	}
	
	.card {
		background: #ffffff;
		border-radius: 16rpx;
		padding: 30rpx;
		margin-bottom: 20rpx;
		box-shadow: 0 4rpx 20rpx rgba(46, 125, 50, 0.1); /* 绿色阴影 */
	}
	
	.button {
		background: linear-gradient(90deg, #4caf50, #8bc34a); /* 青春绿色渐变 */
		color: #ffffff;
		border-radius: 12rpx;
		text-align: center;
		padding: 24rpx;
		margin: 20rpx 0;
		font-weight: 500;
		box-shadow: 0 6rpx 12rpx rgba(76, 175, 80, 0.3); /* 绿色阴影 */
	}
	
	.button-line {
		border: 2rpx solid #4caf50; /* 绿色边框 */
		color: #4caf50; /* 绿色文字 */
		border-radius: 12rpx;
		text-align: center;
		padding: 24rpx;
	}
	
	.flex {
		display: flex;
		align-items: center;
	}
	
	.flex-direction-column {
		flex-direction: column;
	}
	
	.justify-center {
		justify-content: center;
	}
	
	.justify-between {
		justify-content: space-between;
	}
	
	.text-center {
		text-align: center;
	}
	
	.text-primary {
		color: #4caf50; /* 主要绿色 */
	}
	
	.text-red {
		color: #f44336; /* 保持红色 */
	}
	
	.text-green {
		color: #4caf50; /* 青春绿色 */
	}
	
	.text-gray {
		color: #888888;
	}
	
	.text-dark-gray {
		color: #666666;
	}
	
	.mt-10 {
		margin-top: 10rpx;
	}
	
	.mt-20 {
		margin-top: 20rpx;
	}
	
	.mt-30 {
		margin-top: 30rpx;
	}
	
	.mb-10 {
		margin-bottom: 10rpx;
	}
	
	.mb-20 {
		margin-bottom: 20rpx;
	}
	
	.ml-10 {
		margin-left: 10rpx;
	}
	
	.ml-20 {
		margin-left: 20rpx;
	}
	
	.mr-5 {
		margin-right: 5rpx;
	}
	
	.mr-10 {
		margin-right: 10rpx;
	}
	
	.mr-20 {
		margin-right: 20rpx;
	}
	
	.p-20 {
		padding: 20rpx;
	}
	
	.block {
		display: block;
	}
</style>